package com.mallplus.common.order.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import com.mallplus.common.core.vo.BaseVo;
import lombok.Data;

/**
 * @author Hanson
 * @date 2023/4/16 22:28
 */
@Data
public class UserAddrVO extends BaseVo {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID" )
    private Long addrId;

    @Schema(description = "手机" )
    private String mobile;

    @Schema(description = "是否默认地址 1是" )
    private Integer isDefault;

    @Schema(description = "收货人" )
    private String consignee;

    @Schema(description = "省ID" )
    private Long provinceId;

    @Schema(description = "省" )
    private String province;

    @Schema(description = "城市ID" )
    private Long cityId;

    @Schema(description = "城市" )
    private String city;

    @Schema(description = "区ID" )
    private Long areaId;

    @Schema(description = "区" )
    private String area;

    @Schema(description = "邮编" )
    private String postCode;

    @Schema(description = "地址" )
    private String addr;

    @Schema(description = "经度" )
    private Double lng;

    @Schema(description = "纬度" )
    private Double lat;

    @Override
    public String toString() {
        return "UserAddrVO{" +
                "addrId=" + addrId +
                ",createTime=" + createTime +
                ",updateTime=" + updateTime +
                ",mobile=" + mobile +
                ",isDefault=" + isDefault +
                ",consignee=" + consignee +
                ",provinceId=" + provinceId +
                ",province=" + province +
                ",cityId=" + cityId +
                ",city=" + city +
                ",areaId=" + areaId +
                ",area=" + area +
                ",postCode=" + postCode +
                ",addr=" + addr +
                ",lng=" + lng +
                ",lat=" + lat +
                '}';
    }
}
